class Friendship < ActiveRecord::Base
	belongs_to :entity
	belongs_to :friend, :class_name => 'Entity', :foreign_key => 'friend_id'
	
	validates :entity_id, :presence => true
	validates :friend_id, :presence => true	
end
